package com.snail.auction.model;

import java.math.BigDecimal;
import java.sql.Date;
import java.util.HashSet;
import java.util.Set;

public class Item {
	private int itemId;
	private String itemName;
	private String itemRemark;
	private String itemDesc;
	private Date addTime;
	private Date endTime;
	private BigDecimal initPrice;
	private BigDecimal maxPrice;
	private AuctionUser owner;
	private AuctionUser winner;
	private Kind kind;
	private State state;
	private Set<Bid> bids = new HashSet<Bid>();
	public int getItemId() {
		return itemId;
	}
	public void setItemId(int itemId) {
		this.itemId = itemId;
	}
	public String getItemName() {
		return itemName;
	}
	public void setItemName(String itemName) {
		this.itemName = itemName;
	}
	public String getItemRemark() {
		return itemRemark;
	}
	public void setItemRemark(String itemRemark) {
		this.itemRemark = itemRemark;
	}
	public String getItemDesc() {
		return itemDesc;
	}
	public void setItemDesc(String itemDesc) {
		this.itemDesc = itemDesc;
	}
	public Date getAddTime() {
		return addTime;
	}
	public void setAddTime(Date addTime) {
		this.addTime = addTime;
	}
	public Date getEndTime() {
		return endTime;
	}
	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}
	public BigDecimal getInitPrice() {
		return initPrice;
	}
	public void setInitPrice(BigDecimal initPrice) {
		this.initPrice = initPrice;
	}
	public BigDecimal getMaxPrice() {
		return maxPrice;
	}
	public void setMaxPrice(BigDecimal maxPrice) {
		this.maxPrice = maxPrice;
	}
	public AuctionUser getOwner() {
		return owner;
	}
	public void setOwner(AuctionUser owner) {
		this.owner = owner;
	}
	public AuctionUser getWinner() {
		return winner;
	}
	public void setWinner(AuctionUser winner) {
		this.winner = winner;
	}
	public Kind getKind() {
		return kind;
	}
	public void setKind(Kind kind) {
		this.kind = kind;
	}
	public State getState() {
		return state;
	}
	public void setState(State state) {
		this.state = state;
	}
	public Set<Bid> getBids() {
		return bids;
	}
	public void setBids(Set<Bid> bids) {
		this.bids = bids;
	}
	
}
